<!--start of blog-->
<div class="section">
  <h1 class="title"><%=_("Blog")%></h1>
</div>
<div class="post">
  <table width=580>
    <% for blog in @blogs %>
      <tr>
        <td>
          <div class="title"><%=link_to "#{blog.title}", 
              {:controller=>'blog', :action=>'count_and_view', :id=>blog} %>
          </div>   
        </td>
      </tr>
      <tr>
        <td height=20 valign="top"> <%=blog.created_at.to_s(:chs)%> </td>
        </tr>
        <tr>
          <td >
            <div class="entry"> <%=h truncate(blog.short_description,100)%></div>
          </td>
        </tr>
        <tr>
          <td >
            类别：<%=link_to category_name(blog), category_link(blog) %>
            <%=" | 评论(#{blog.comments.size}) | 浏览(#{blog.view_count})" %>
          </td>
        </tr>
        <tr><td colspan=3> &nbsp;<td></tr>
      <%end%>
    </table>
  </div>
  <!--end of blog-->